package com.boot.dog.common.util;

import java.io.Serializable;

import lombok.Data;

/**
 * @Author: MaxLv
 * @Date: 2019/12/2
 */
@Data
public class ApiResult<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer code;
    private String msg;
    private T content;

    public ApiResult(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
